package com.wclass.model;

import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 章节
 *
 * @author zhanghaogao
 * @create 2019-01-08 13:55
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChapterModel {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("章节名称")
    private String name;
    @ApiModelProperty("知识点")
    private List<KnowledgePointModel> courseChapterList = Lists.newArrayList();
}
